home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung
/
Power-Programmierung (Tewi)(1994).iso
/
magazine
/
pctchnqs
/
1990
/
number3
/
fourbyte.c
< prev
next >
Wrap
Text File
|
1990-05-21
|
346b
|
17 lines
char far *Names[ 2000 ]; /* 8000 bytes of storage */
int GetNames( FILE *InFile )
{
char StrBuf[ 100 ];
int Count = 0;
while( fgets( StrBuf, 100, InFile ) != EOF )
{
/* save the whole address (4 bytes) */
Names[ Count++ ] = strdup( StrBuf );
}
return( Count );
}